package model

import (
	"gorm.io/gorm"
)

type Repo struct {
	gorm.Model
	RepoCode string `gorm:"type:varchar(50);comment:仓库编号"`
	RepoName string `gorm:"type:varchar(50);comment:仓库名称"`
	Address  string `gorm:"type:varchar(50);comment:仓库地址"`
}
type Shop struct {
	gorm.Model
	ShopCode string `gorm:"type:varchar(50);comment:门店编号"`
	ShopName string `gorm:"type:varchar(50);comment:门店名称"`
	Rid      int    `gorm:"type:int;comment:仓库id"`
}
type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50);comment:用户名"`
	Password string `gorm:"type:varchar(50);comment:密码"`
}
